package com.magic.smartcity.beans.pojo;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * @description:
 * @create: Create by Magic on 2022/2/12.
 */
public class ResultData<T> implements Serializable {

    @SerializedName("msg")
    private String msg;
    @SerializedName("code")
    private Integer code;
    @SerializedName("data")
    private T data;
    @SerializedName("isSignup")
    private Boolean isSignup;


    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "ResultData{" +
                "msg='" + msg + '\'' +
                ", code=" + code +
                ", data=" + data +
                '}';
    }

    public Boolean isIsSignup() {
        return isSignup;
    }

    public void setIsSignup(Boolean isSignup) {
        this.isSignup = isSignup;
    }
}
